<template>
  <div>
    <Main/>
    <Footer/>
  </div>
</template>
<script>
// @是/src的别名
import Main from '@/views/index/Main'//引入组件
import Footer from '@/components/Footer'//引入组件
export default {
  name: 'home',
  components: {//注册组件
    Main,
    Footer
  }
}
</script>
